<?php
class Index_Controller_Index {
	
	public $template;
	
	public function main(array $getVars, array $postVars){
		$indexModel = new Index_Model_Index();
		$article = $indexModel->getArticle();
		$this->template = "./index/views/index.php";
		$view = new Core_Model_View($this->template);
		$view->assign('article', $article);
	}
}